package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-08-02
 */
@TableName("TT_EQ_EQUIP_USERS")
public class EquipUsers extends Model<EquipUsers> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 设备编号
     */
    @TableField("EQUIP_CODE")
    private String equipCode;
    /**
     * 操作人
     */
    @TableField("OPERATING_PERSONNEL")
    private String operatingPersonnel;
    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private String delFlag;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getOperatingPersonnel() {
        return operatingPersonnel;
    }

    public void setOperatingPersonnel(String operatingPersonnel) {
        this.operatingPersonnel = operatingPersonnel;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "EquipUsers{" +
        ", pkId=" + pkId +
        ", equipCode=" + equipCode +
        ", operatingPersonnel=" + operatingPersonnel +
        ", delFlag=" + delFlag +
        "}";
    }
}
